/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package locusts.common;

import java.io.Serializable;

/**
 *
 * @author hamish
 */
public class GameConfig implements Serializable {

    private transient static final double DEFAULT_TAG_RADIUS = 20D;
    private transient static final long DEFAULT_TAG_TIMER = 1000L;
    private transient static final long DEFAULT_UPDATE_RATE = 100L;

    private double tagRadius;
    private long tagTimer;
    private long updateRate;

    public GameConfig() {
        tagRadius = DEFAULT_TAG_RADIUS;
        tagTimer = DEFAULT_TAG_TIMER;
        updateRate = DEFAULT_UPDATE_RATE;
    }

    public final double getTagRadius() {
        return tagRadius;
    }

    public final void setTagRadius(final double tagRadius) {
        this.tagRadius = tagRadius;
    }

    public final double getTagTimer() {
        return tagTimer;
    }

    public final void setTagTimer(final long tagTimer) {
        this.tagTimer = tagTimer;
    }

    public long getUpdateRate() {
        return updateRate;
    }

    public void setUpdateRate(final long updateRate) {
        this.updateRate = updateRate;
    }

}
